package interfaceDemo4;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 阿宾
 * Date: 2025-03-12
 * Time: 16:14
 */
public class Test {
    public static void main(String[] args) {
        //创建实现类对象
        InterImpl inter = new InterImpl();
        inter.show();//重写接口Inter中的默认方法
        inter.meythod();//实现类重写的抽象方法
    }
}
